package com.urfresh.sp.flume.dto.v3;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * Created by urfresh.mark on 2016/11/15.
 */
public class DataInfos extends AppBaseInfo {

    //附加内容
    @ApiModelProperty(value = "附加内容,格式为json", required = true)
    String addition;

    //曝光、点击
    @ApiModelProperty(value = "行为：曝光、点击", required = true)
    String action;

    //页面信息
    @ApiModelProperty(value = "页面信息组，包含页面id，页面名称，根据当前元素的不同，页面组中可能包含多个数据，如一级栏位，二级栏位", required = true)
    List<PageInfo> pageInfo;

    //元素id
    @ApiModelProperty(value = "发生点击行为的元素", required = false)
    String elementId;

    //坑位信息
    @ApiModelProperty(value = "发生点击行为的元素所在的坑位信息", required = false)
    PointInfo pointInfo;

    @ApiModelProperty(value = "门店id", required = false)
    String storeId;
    @ApiModelProperty(value = "门店名称", required = false)
    String storeName;

    @ApiModelProperty(value = "区域id", required = false)
    String regionId;
    @ApiModelProperty(value = "区域名称", required = false)
    String regionName;

    @ApiModelProperty(value = "app版本号", required = true)
    String appVer;

    @ApiModelProperty(value = "从h5页面过来的json数据", required = false)
    String pageJsonInfo;

    public String getAddition() {
        return addition;
    }

    public void setAddition(String addition) {
        this.addition = addition;
    }

    public String createTime;
    
    public String getCreateTime() {
        return createTime;
    }
    
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    
    public String getPageJsonInfo() {
        return pageJsonInfo;
    }

    public void setPageJsonInfo(String pageJsonInfo) {
        this.pageJsonInfo = pageJsonInfo;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public String getAppVer() {
        return appVer;
    }

    public void setAppVer(String appVer) {
        this.appVer = appVer;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public List<PageInfo> getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(List<PageInfo> pageInfo) {
        this.pageInfo = pageInfo;
    }

    public String getElementId() {
        return elementId;
    }

    public void setElementId(String elementId) {
        this.elementId = elementId;
    }

    public PointInfo getPointInfo() {
        return pointInfo;
    }

    public void setPointInfo(PointInfo pointInfo) {
        this.pointInfo = pointInfo;
    }
}
